package com.example.cityiot.bean;

/**
 * @ProjectName: CityIOT
 * @Package: com.example.cityiot.bean
 * @ClassName: BusBean
 * @Description: java类作用描述
 * @Author: 罗文涛
 * @CreateDate: 12/30/21 11:34 AM
 */
public class BusBean {

    public String name;
    public int distance;

    public BusBean(String name, int distance) {
        this.name = name;
        this.distance = distance;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public String toString(){
        return this.name + "  " + this.distance;
    }
}
